package com.orphan.supplier.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author zjm
 * @since 2021-07-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_supplierOrder")
public class Supplierorder extends Model {

    private static final long serialVersionUID = 1L;
    @TableId(value = "t_id", type = IdType.AUTO)
    private Integer tId;

    @TableField("t_planId")
    private String tPlanid;

    @TableField("t_supplierName")
    private String tSuppliername;

    @TableField("t_pay")
    private String tPay;

    private Float tTotalMoney;

    private Integer tGoodsNum;

    @TableField(exist = false)
   private List<Suppliergoods>suppliergoods;//商品集合


}
